home *** CD-ROM | disk | FTP | other *** search
/ Aminet 12 / Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso / Aminet / util / arc / GNUTar12.readme < prev    next >
Encoding:
Text File  |  1996-05-05  |  10.7 KB  |  222 lines

  1. Short:    GNUTar 1.11.2, Amiga V1.2 (68000/030), plus source
  2. Author:   Andreas_Kleinert@superview.ftn.sub.org
  3. Uploader: Martin Schulze (schulze@phil.uni-sb.de)
  4. Type:     util/arc
  5.  
  6.  ===========================================================================
  7.  = GNUTar Amiga Port of V1.11.2 (originally from 25 Mar 1993)              =
  8.  = ----------------------------------------------------------------------- =
  9.  = Amiga Port release version: V1.2                                        =
  10.  = Release Date:               11.03.1996                                  =
  11.  ===========================================================================
  12.  
  13.  1995-96 rework, SAS/C V6.56 recompilation, GNUTar V1.11+ adaption,
  14.  and 68030/040 version by Andreas R. Kleinert (email below)
  15.  
  16.  Original port of GNUTar V1.09 done by Ed Berger (email below)
  17.  
  18.  
  19.                        *** Why ? ***
  20.  
  21.  When extracting TAR archives on the AMIGA there always had been a problem:
  22.  the only available GNUTar port was hard to find and if you got it
  23.  finally, it was quite old and just unoptimized for higher 68k CPUs.
  24.  
  25.  On the other hand, a simple recompilation wasn't easy for most people,
  26.  since the GNU-C (GCC) Compiler isn't very widely used and adaptions
  27.  for other compilers aren't that easy (as I finally found out ;-)
  28.  
  29.  
  30.                        *** How ? ***
  31.  
  32.  My first step to solve this problem was porting the nice, small and
  33.  handy "DeTar" utility from MS-DOS to Amiga.
  34.  The usage was really simple and easy, since you'd just had to call
  35.  "DeTar [archive]" and the whole archive would have been unpacked.
  36.  While searching for Bugs within DeTar (thus using the available GNUTar
  37.  port) I decided to port GNUTar directly (since there actually appeared
  38.  some effects I thought of as bugs of DeTar, but as well possibly
  39.  could have been bugs of the Amiga version of GNUTar ;-)
  40.  
  41.  So there suddenly was a new SAS/C V6.55 port of GNUTar for the Amiga,
  42.  which wasn't perfect at all, but was thought as a base for further
  43.  actions by other people (or me :-)
  44.  
  45.  People greatly reacted on this new GNUTar port and reported bugs
  46.  as well as request for also creating updates, which make use of
  47.  features of newer GNUTar versions.
  48.  
  49.  So I dropped the old V1.09 sources ported by Ed Berger and began
  50.  re-porting V1.11.2 (a beta test release) to the Amiga, still using
  51.  some of the old port stubs (but GCC stuff became useless now).
  52.  
  53.  
  54.                        *** Next ? ***
  55.  
  56.  Since V1.11.2 was a beta test release and still isn't the newest
  57.  available version of GNUTar, you may expect newer versions soon.
  58.  
  59.  
  60.                        *** Details ? ***
  61.  
  62.  Before I add the original "documentation" of Ed Berger, please take
  63.  a look at these notes:
  64.  
  65.        - some of the defines and/or functions, which hadn't be present
  66.          for the GCC are actually available for SAS/C and vice versa.
  67.          So there are still some dummy-functions or (hopefully)
  68.          equivalent replacements for such things.
  69.          See the files "sas_amiga.c" and "sas_amiga2.c" for code-replacements
  70.          and the headers within "sasinclude/" and "sasinclude/sys/"
  71.          for additional defines.
  72.          I went this way, since this prevented me from changing _anything_
  73.          within the orginal source.
  74.          The only thing to be done was setting definitions and compiler
  75.          options in the best way and then fill in the missing parts
  76.          (sounds easier, than it was %-)
  77.        - ahm...well: while compiling there occured several problems
  78.          (warnings, missing functions, which had to be substituted
  79.           by dummies, etc.). So remember: it works, but there's really
  80.           no guarantee for anything !
  81.  
  82.  
  83.                        *** Who ? ***
  84.  
  85.  Andreas R. Kleinert, Fido   2:2457/435.10
  86.                       UseNet Andreas_Kleinert@superview.ftn.sub.org
  87.                              Andreas_Kleinert@t-online.de
  88.  
  89.  
  90.                        *** History ? ***
  91.  
  92.  Revisions:
  93.  
  94.   V1.2   (11.03.1996): - fully recompiled with SAS/C V6.56
  95.                        - added Osma Ahvenlampi's fix for the
  96.                          1.0.2 protection bit problem (archive
  97.                          appeared at "util/shell" on AmiNet).
  98.  
  99.                          I adapted it to the new 1.11.2 source and
  100.                          changed the way binding it into the source
  101.                          (fully via REDEFINES.WTH, no changes to tar.h,
  102.                           thus had to call lstat() from sas_amiga.c instead
  103.                           of stat() to avoid recursion).
  104.  
  105.                          Here's what Osma originally said:
  106.  
  107.                          'This patch makes an attempt to translate Amiga
  108.                          protection bits to the closest UNIX equivalents.
  109.                          When extracting UNIX archives, it also sets the
  110.                          group and world bits as specified in the archive,
  111.                          for those with multiuser filesystems.
  112.                          When creating an archive, these bits are
  113.                          unfortunately not retained, since SAS/C's stat()
  114.                          function ignores them.'
  115.                          (-> Osma.Ahvenlampi@hut.fi)
  116.  
  117.   V1.1   (16.09.1995): - did change version counting: it's too
  118.                          confusing the old way.
  119.                          The original version number of the GNUTar
  120.                          we base on, still is mentioned at the top of
  121.                          this documentation
  122.                        - completely redid the port: we now do use
  123.                          the original GNUTar 1.11.2 (a so-called beta
  124.                          test release) instead of the AMIGA/GCC-adapted
  125.                          GNUTar 1.09.
  126.                          Kind of an update: I simply copied the new
  127.                          source over the old one, changed the compiler
  128.                          settings, added some more include files and
  129.                          resolved all inconsistencies - of course
  130.                          *without directly changing any piece* of
  131.                          the original GNU C-Sources!
  132.                          (-> Regis Rampnoux, ...)
  133.                        - README and GNU-License (COPYING) also have been
  134.                          updated - old GNU license replaced by newer one.
  135.                          There was no update to Tar.man - sorry
  136.                          (but I added a specific note to it, to cover this).
  137.                        - removed some GCC-addon's, which Ed Berger had
  138.                          designed for V1.09, but which won't work with
  139.                          V1.11.2 any longer. You may take them from
  140.                          Amiga release V1.0.2 (23.07.1995) and adapt them
  141.                          - if you like or need them for GCC.
  142.                        - again did change chmod() - there was a mysterious
  143.                          effect, which caused it to be restored to the
  144.                          old, wrong way
  145.                        - replaced 68030 and 68040 versions by a combined
  146.                          68030/040 version, since SAS/C does not
  147.                          actually make any differences for our code.
  148.  
  149.   V1.0.2 (23.07.1995): - hey, found out that the base version actually
  150.                          had been released as V1.09.
  151.                          Added note to this readme.
  152.                        - two people complained, that my GNUTar port did
  153.                          not set correct flags out of "hsparwed" for the
  154.                          amiga files when extracting from archives, as the
  155.                          old GNUTar did.
  156.                          Well, foudn out, that the old one just _did_ _not_
  157.                          _change_ the default flags (always "rwed") and
  158.                          we're now just doing the same, since the mode
  159.                          field of unix TARs is either broken ("hpw" always
  160.                          after conversion Unix->Amiga) or SAS/C's definition
  161.                          for the S_IREAD (and so on) flags aren't compatible.
  162.                          Now "rwed" will be set always.
  163.                          You may change this behaviour within "sas_chmod()"
  164.                          in "sas_amiga.c".
  165.                          (-> bussjaeg@informatik.tu-muenchen.de;
  166.                           Christian Bauernfeind,
  167.                           crisbf@theorie3.physik.uni-erlangen.de)
  168.                        - mkdir(), which needs only one argument with SAS/C
  169.                          had been called with two (got warnings).
  170.                          Now we're doing this:
  171.                            #define mkdir(x, y) mkdir(x)
  172.                          Well, it works ;-)
  173.  
  174.   V1.0.1 (07.07.1995): - re-compiled with SAS/C V6.55
  175.                        - added 68040 version
  176.                        - removed object files from archive due to size
  177.                        - fixed bug note in documentation; was not a bug
  178.                          (-> David Balazic, david.balazic@uni-mb.si)
  179.  
  180.   V1.00  (23.03.1995): - first release, compiled with SAS/C V6.51
  181.  
  182.  
  183. ****************************************************************************
  184.  
  185. Following is, what Ed Berger originally wrote in "readme.1st"
  186. for V1.09. As with Amiga release V1.1 (GNUTar V1.11.2, first port release)
  187. I re-switched to the original GNU-sources in combination with some
  188. of the old code-workarounds:
  189. ----------------------------------------------------------------------------
  190.  
  191. I was looking for a tar program for the Amiga, since the gcc distribution,
  192. and minix distribution files are often in this format.  Tarsplit from an
  193. old fish disk was not sufficient.  I kept hearing about gnu-tar, but
  194. never saw it archived anywhere, until now.
  195.  
  196. Since I was not able to find gnu-tar, under any separate archive on the
  197. fish disks, or on my favorite ftp-sites, I pulled this out of the UUCP
  198. distribution from uunet.  The binary and man page were on disk 2, and
  199. the source files were on disk 3.  I hope that I didn't miss anything
  200. important.  I apologize for any inconvenience this may cause.  If in doubt
  201. go back to the UUCP distribution.
  202.  
  203. -Ed Berger
  204.  eb15@andrew.cmu.edu
  205.  
  206. ****************************************************************************
  207.  
  208.  
  209. ============================= Archive contents =============================
  210.  
  211. Original  Packed Ratio    Date     Time    Name
  212. -------- ------- ----- --------- --------  -------------
  213.    17982    6993 61.1% 16-Sep-95 14:22:48 +copying
  214.    95940   52059 45.7% 11-Mar-96 20:03:42 +GNUTar
  215.    95912   52146 45.6% 11-Mar-96 20:03:44 +GNUTar030_040
  216.     1839     991 46.1% 16-Sep-95 16:23:12 +README
  217.    10080    3645 63.8% 11-Mar-96 20:06:02 +README.AMIGA
  218.   291396  291396  0.0% 11-Mar-96 20:11:52 +Source.LZH
  219.     8330    3206 61.5% 16-Sep-95 16:56:12 +Tar.man
  220. -------- ------- ----- --------- --------
  221.   521479  410436 21.2% 27-Mar-96 05:40:40   7 files
  222.